Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to the nodes stats API #4057

Closed
clintongormley opened this issue Nov 2, 2013 · 0 comments · Fixed by #4347
Closed

Changes to the nodes stats API #4057

clintongormley opened this issue Nov 2, 2013 · 0 comments · Fixed by #4347

Comments

@clintongormley
Copy link

Recommendations:

Remove the all and clear flags. Default to return all by default, unless specific metrics specified.

Change the path format to:

/_nodes/{nodes}/stats/{metric}

where:

  • {nodes}: comma-delimited list of nodes or blank
  • {metric} is blank or comma-delimited list of metrics

Metrics can be any of:

  • http
  • jvm
  • network
  • os
  • process
  • thread_pool
  • transport
  • fs
  • indices

If indices is specified in the metrics list, then the path expands to accept:

/_nodes/{nodes}/{metrics}/stats/indices,fs,jvm/{index-metrics}

where:

and the query-string options accepted by indices statistics in #4054 are also accepted here

@ghost ghost assigned spinscale Dec 5, 2013
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
First, this breaks backwards compatibility!

* Removed /_cluster/nodes/stats endpoint
* Excpect the stats types not as parameters, but as part of the URL
* Returning all indices stats by default, returning all nodes stats by default
* Supporting groups & types in nodes stats now as well
* Updated documentation & tests accordingly
* Allow level parameter for "shards" and "indices" (cluster does not make sense here)

Closes elastic#4057
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants